package com.chem.lems.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor                 //无参构造
@AllArgsConstructor                //有参构造
public class MenuVO implements Comparable<MenuVO> {
    private int id;
    private String authName;
    private String path;
    private int pid;


    @Override
    public int compareTo(MenuVO o) {
        return this.id - o.getId();
    }
}
